<template>
	<div id="app">
		<!-- 全局导航栏,404页除外 -->
		<Navbar v-if="!$route.meta.hideNavbar" />
		<router-view :key="$route.fullPath" />
	</div>
</template>

<script>
import Navbar from "@/views/system/Navbar.vue"; // 导入 Navbar 组件

export default {
	name: "App",
	components: {
		Navbar
	},
}
</script>

<style>
html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
</style>
